package com.universalInterface.lims_interface.vo.testinfo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Lx
 * @date 2023/12/25 10:33
 * @description
 */

@Data
@Schema(description = "新增试验信息的参数")
public class TestInfoVo  implements Serializable {

    private static final long serialVersionUID = -9039565987268876185L;

    @Schema(name = "labGuid", description = "实验室唯一标识号")
    private Long labGuid;

    @Schema(name = "testNo", description = "试验编号")
    private String testNo;

    @Schema(name = "testOrderNo", description = "委托单编号")
    private String testOrderNo;

    @Schema(name = "projectNo", description = "项目编号")
    private String projectNo;

    @Schema(name = "machineType", description = "样机型号")
    private String machineType;

    @Schema(name = "sampleName", description = "样机名称")
    private String sampleName;

    @Schema(name = "inspectionBatchNo", description = "样机编号")
    private String inspectionBatchNo;

    @Schema(name = "nSampleNo", description = "内机编号")
    private String nSampleNo;

    @Schema(name = "wSampleNo", description = "外机编号")
    private String wSampleNo;

    @Schema(name = "inspector", description = "测试人")
    private String inspector;

    @Schema(name = "experimentName", description = "实验名称")
    private String experimentName;

    @Schema(name = "idInletDb", description = "室内干球")
    private String idInletDb;

    @Schema(name = "idInletWb", description = "室内湿球")
    private String idInletWb;

    @Schema(name = "odInletDb", description = "室外干球")
    private String odInletDb;

    @Schema(name = "odInletWb", description = "室外湿球")
    private String odInletWb;

    @Schema(name = "staticP", description = "静压")
    private String staticP;

    @Schema(name = "capacity", description = "额定能力值")
    private String capacity;

    @Schema(name = "power", description = "额定功率值")
    private String power;

    @Schema(name = "energyEfficiency", description = "额定能效值")
    private String energyEfficiency;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(name = "startTime", description = "开始测试时间")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(name = "endTime", description = "试验结束时间")
    private LocalDateTime endTime;

    @Schema(name = "electricity", description = "电量")
    private String electricity;

    @Schema(name = "testCurveTable", description = "试验历史原始数据曲线参数表名")
    private String testCurveTable;

    @Schema(name = "testChannel", description = "试验历史原始数据通道表名")
    private String testChannel;

    @Schema(name = "testData", description = "试验历史原始数据数据表名")
    private String testData;

    @Schema(name = "shows", description = "是否显示出来，1位显示，0位不显示")
    private Integer shows;
}
